package com.maysev.myjob_backend.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 五七
 * @create 2023-04-03 15:06
 * @description:
 */
@Data
@TableName("subcategories")
public class Subcategory implements Serializable {
    private static final Long serialVersionUID = 1L;

    private Long id;

    private Long categoryId;

    private String name;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String  createUser;

    private String updateUser;

}
